package edu.luc.etl.xml;

import java.util.List;
import java.util.Vector;

public class FeedList {
	private List<FeedListItem> _itemlist;
	private int _itemcount = 0;
	 FeedList()
	    {
	        _itemlist = new Vector(0); 
	    }
	   public int addItem(FeedListItem item)
	    {
	        _itemlist.add(item);
	        _itemcount++;
	        return _itemcount;
	    }
	   public FeedListItem getItem(int location)
	    {
	        return _itemlist.get(location);
	    }
	   public List getAllItems()
	    {
	        return _itemlist;
	    }
	   public int getItemCount()
	    {
	        return _itemcount;
	    }
}
